package cn.huaqingcheng.tianshu.infrastructure.start.mapper;

import cn.huaqingcheng.tianshu.infrastructure.start.entity.SiteEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * SiteMapper
 */
@Mapper
public interface SiteMapper extends BaseMapper<SiteEntity> {

    List<SiteEntity> selectListByUidAndGroupId(@Param("uid") Long uid, @Param("groupId") Long groupId);

    /**
     * 查询导入的图标内容为外部 http 地址的记录
     */
    List<SiteEntity> selectListByOldIcons();

}
